home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmOptions
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "Internet LOCKDOWN!"
- ClientHeight = 3165
- ClientLeft = 45
- ClientTop = 285
- ClientWidth = 4680
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3165
- ScaleWidth = 4680
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- Begin VB.OptionButton OptForce
- Caption = "Force Shutdown"
- Height = 255
- Left = 1080
- TabIndex = 8
- Top = 2520
- Width = 2895
- End
- Begin VB.OptionButton OptShutdown
- Caption = "Shutdown"
- Height = 255
- Left = 1080
- TabIndex = 7
- Top = 2160
- Width = 2775
- End
- Begin VB.OptionButton OptReboot
- Caption = "Reboot"
- Height = 375
- Left = 1080
- TabIndex = 6
- Top = 1800
- Width = 2655
- End
- Begin VB.OptionButton OptLogOff
- Caption = "Logoff"
- Height = 375
- Left = 1080
- TabIndex = 5
- Top = 1440
- Width = 2415
- End
- Begin VB.CommandButton Command1
- Caption = "Update and Reset"
- Height = 375
- Left = 1680
- TabIndex = 4
- Top = 840
- Width = 1695
- End
- Begin VB.TextBox Text1
- Height = 285
- Left = 2280
- TabIndex = 2
- Top = 480
- Width = 1455
- End
- Begin VB.TextBox txtPassword
- Height = 285
- Left = 1920
- TabIndex = 1
- Top = 120
- Width = 1455
- End
- Begin VB.Label Label1
- Caption = "Enter Time in SECONDS!!"
- Height = 255
- Left = 240
- TabIndex = 3
- Top = 480
- Width = 2055
- End
- Begin VB.Label lblpassword
- Caption = "Enter New Password!"
- Height = 255
- Left = 240
- TabIndex = 0
- Top = 120
- Width = 1935
- End
- Attribute VB_Name = "frmOptions"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- SaveSetting App.Title, "Lockdown", "password", txtpassword.Text
- SaveSetting App.Title, "Lockdown", "countdown", Text1.Text
- MsgBox "You must restart the program for anychanges to take effect!", vbOKOnly
- 'Get Option Settings
- SaveSetting App.Title, "Lockdown", "OptShutdown", OptShutdown.Value
- SaveSetting App.Title, "Lockdown", "Logoff", OptLogOff.Value
- SaveSetting App.Title, "Lockdown", "Force", OptForce.Value
- SaveSetting App.Title, "Lockdown", "Reboot", OptReboot.Value
- frmOptions.Visible = False
- Unload frmMain
- Load frmMain
- Unload frmLogin
- End Sub
- Private Sub Form_Load()
- Text1.Text = GetSetting(App.Title, "Lockdown", "Countdown")
- txtpassword.Text = GetSetting(App.Title, "Lockdown", "password")
- End Sub
- Private Sub OptForce_Click()
- MsgBox "Only use Force Shutdown if you must, may cause errors on your hard drive!", vbCritical
- End Sub
-